//
//  JHBookWordBotTableViewCell.m
//  JuniRengLish_iOS
//
//  Created by revogi on 2019/5/10.
//  Copyright © 2019 revogi. All rights reserved.
//

#import "JHBookWordBotTableViewCell.h"

@implementation JHBookWordBotTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.leftView.backgroundColor=JKMainColor;
    self.rightView.backgroundColor=JKMainColor;
    self.gardNameLable.textColor=JKMainColor;
    [self.leftBtn layoutButtonWithImageStyle:ZJButtonImageStyleLeft imageTitleToSpace:20];
    [self.rightBtn layoutButtonWithImageStyle:ZJButtonImageStyleLeft imageTitleToSpace:20];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)leftBtnDidClik:(UIButton *)sender {
    if (self.leftBtnActionBlock) {
        self.leftBtnActionBlock();
    }
    
}
- (IBAction)rightBtnDidClik:(id)sender {
    if (self.rightBtnActionBlock) {
        self.rightBtnActionBlock();
    }
}

@end
